import request from '@/utils/request'

// 查询课程表_1列表
export function listCourses_1(query) {
  return request({
    url: '/system/courses_1/list',
    method: 'get',
    params: query
  })
}

// 查询课程表_1详细
export function getCourses_1(courseId) {
  return request({
    url: '/system/courses_1/' + courseId,
    method: 'get'
  })
}

// 新增课程表_1
export function addCourses_1(data) {
  return request({
    url: '/system/courses_1',
    method: 'post',
    data: data
  })
}

// 修改课程表_1
export function updateCourses_1(data) {
  return request({
    url: '/system/courses_1',
    method: 'put',
    data: data
  })
}

// 删除课程表_1
export function delCourses_1(courseId) {
  return request({
    url: '/system/courses_1/' + courseId,
    method: 'delete'
  })
}
